﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200122F RID: 4655
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class StartStarFightLevelCsReq : IMessage<StartStarFightLevelCsReq>, IMessage, IEquatable<StartStarFightLevelCsReq>, IDeepCloneable<StartStarFightLevelCsReq>, IBufferMessage
	{
		// Token: 0x17003B0A RID: 15114
		// (get) Token: 0x0600D0CA RID: 53450 RVA: 0x00232BC3 File Offset: 0x00230DC3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<StartStarFightLevelCsReq> Parser
		{
			get
			{
				return StartStarFightLevelCsReq._parser;
			}
		}

		// Token: 0x17003B0B RID: 15115
		// (get) Token: 0x0600D0CB RID: 53451 RVA: 0x00232BCA File Offset: 0x00230DCA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return StartStarFightLevelCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003B0C RID: 15116
		// (get) Token: 0x0600D0CC RID: 53452 RVA: 0x00232BDC File Offset: 0x00230DDC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return StartStarFightLevelCsReq.Descriptor;
			}
		}

		// Token: 0x0600D0CD RID: 53453 RVA: 0x00232BE3 File Offset: 0x00230DE3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StartStarFightLevelCsReq()
		{
		}

		// Token: 0x0600D0CE RID: 53454 RVA: 0x00232BF8 File Offset: 0x00230DF8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StartStarFightLevelCsReq(StartStarFightLevelCsReq other) : this()
		{
			this.groupId_ = other.groupId_;
			this.fightStageId_ = other.fightStageId_;
			this.avatarList_ = other.avatarList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D0CF RID: 53455 RVA: 0x00232C45 File Offset: 0x00230E45
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StartStarFightLevelCsReq Clone()
		{
			return new StartStarFightLevelCsReq(this);
		}

		// Token: 0x17003B0D RID: 15117
		// (get) Token: 0x0600D0D0 RID: 53456 RVA: 0x00232C4D File Offset: 0x00230E4D
		// (set) Token: 0x0600D0D1 RID: 53457 RVA: 0x00232C55 File Offset: 0x00230E55
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint GroupId
		{
			get
			{
				return this.groupId_;
			}
			set
			{
				this.groupId_ = value;
			}
		}

		// Token: 0x17003B0E RID: 15118
		// (get) Token: 0x0600D0D2 RID: 53458 RVA: 0x00232C5E File Offset: 0x00230E5E
		// (set) Token: 0x0600D0D3 RID: 53459 RVA: 0x00232C66 File Offset: 0x00230E66
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint FightStageId
		{
			get
			{
				return this.fightStageId_;
			}
			set
			{
				this.fightStageId_ = value;
			}
		}

		// Token: 0x17003B0F RID: 15119
		// (get) Token: 0x0600D0D4 RID: 53460 RVA: 0x00232C6F File Offset: 0x00230E6F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<IAEKELNHGFP> AvatarList
		{
			get
			{
				return this.avatarList_;
			}
		}

		// Token: 0x0600D0D5 RID: 53461 RVA: 0x00232C77 File Offset: 0x00230E77
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as StartStarFightLevelCsReq);
		}

		// Token: 0x0600D0D6 RID: 53462 RVA: 0x00232C88 File Offset: 0x00230E88
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(StartStarFightLevelCsReq other)
		{
			return other != null && (other == this || (this.GroupId == other.GroupId && this.FightStageId == other.FightStageId && this.avatarList_.Equals(other.avatarList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600D0D7 RID: 53463 RVA: 0x00232CE8 File Offset: 0x00230EE8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.GroupId != 0U)
			{
				num ^= this.GroupId.GetHashCode();
			}
			if (this.FightStageId != 0U)
			{
				num ^= this.FightStageId.GetHashCode();
			}
			num ^= this.avatarList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D0D8 RID: 53464 RVA: 0x00232D4E File Offset: 0x00230F4E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D0D9 RID: 53465 RVA: 0x00232D56 File Offset: 0x00230F56
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D0DA RID: 53466 RVA: 0x00232D60 File Offset: 0x00230F60
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.GroupId != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.GroupId);
			}
			this.avatarList_.WriteTo(ref output, StartStarFightLevelCsReq._repeated_avatarList_codec);
			if (this.FightStageId != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.FightStageId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D0DB RID: 53467 RVA: 0x00232DCC File Offset: 0x00230FCC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.GroupId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.GroupId);
			}
			if (this.FightStageId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.FightStageId);
			}
			num += this.avatarList_.CalculateSize(StartStarFightLevelCsReq._repeated_avatarList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D0DC RID: 53468 RVA: 0x00232E38 File Offset: 0x00231038
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(StartStarFightLevelCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.GroupId != 0U)
			{
				this.GroupId = other.GroupId;
			}
			if (other.FightStageId != 0U)
			{
				this.FightStageId = other.FightStageId;
			}
			this.avatarList_.Add(other.avatarList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D0DD RID: 53469 RVA: 0x00232E99 File Offset: 0x00231099
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D0DE RID: 53470 RVA: 0x00232EA4 File Offset: 0x002310A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U)
				{
					if (num != 74U)
					{
						if (num != 104U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.FightStageId = input.ReadUInt32();
						}
					}
					else
					{
						this.avatarList_.AddEntriesFrom(ref input, StartStarFightLevelCsReq._repeated_avatarList_codec);
					}
				}
				else
				{
					this.GroupId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040053BA RID: 21434
		private static readonly MessageParser<StartStarFightLevelCsReq> _parser = new MessageParser<StartStarFightLevelCsReq>(() => new StartStarFightLevelCsReq());

		// Token: 0x040053BB RID: 21435
		private UnknownFieldSet _unknownFields;

		// Token: 0x040053BC RID: 21436
		public const int GroupIdFieldNumber = 2;

		// Token: 0x040053BD RID: 21437
		private uint groupId_;

		// Token: 0x040053BE RID: 21438
		public const int FightStageIdFieldNumber = 13;

		// Token: 0x040053BF RID: 21439
		private uint fightStageId_;

		// Token: 0x040053C0 RID: 21440
		public const int AvatarListFieldNumber = 9;

		// Token: 0x040053C1 RID: 21441
		private static readonly FieldCodec<IAEKELNHGFP> _repeated_avatarList_codec = FieldCodec.ForMessage<IAEKELNHGFP>(74U, IAEKELNHGFP.Parser);

		// Token: 0x040053C2 RID: 21442
		private readonly RepeatedField<IAEKELNHGFP> avatarList_ = new RepeatedField<IAEKELNHGFP>();
	}
}
